package split;

import java.io.File;

public class Test3 {
	public static void main(String[] args) {
		String tempFolder = "a\\bbbbbx";
		String endSlash = tempFolder.substring(tempFolder.length() - 1);
		//System.out.println(tempFolder.length()+endSlash);
		String temp = tempFolder.substring(tempFolder.indexOf("\\"));
		System.out.println(System.getProperty("java.io.tmpdir"));
	}
}
